package com.aiyi.education.mapper.admin;


import com.aiyi.education.entity.admin.KsAdminRole;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* Created by Mybatis Generator on 2020/04/27
*/
@Repository
public interface KsAdminRoleMapper extends BaseMapper<KsAdminRole> {
    int deleteByPrimaryKey(Integer roleId);

    int insertData(KsAdminRole record);

    int insertSelective(KsAdminRole record);

    KsAdminRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(KsAdminRole record);

    int updateByPrimaryKeyWithBLOBs(KsAdminRole record);

    int updateByPrimaryKey(KsAdminRole record);

    List<KsAdminRole> selectByWrapper(Page<KsAdminRole> pageModel,@Param("ew") QueryWrapper wrapper);
}